<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>信息修改</title>
<style type="text/css">
#div_edit {
	text-align: right;
}
</style>
</head>
{% include 'menu.html' %}
<body>
<center>
<div>
	{% if error %}
		<font color='red'>填写信息有误，请重新填写！</font>
	{% endif %}
	<h1 class="text-info">用户信息修改</h1>
    <br />
	<form action="/edit" method='post'>
	<table border="0">
    	<tr>
			<td width="40%"><strong><p class="text-info">用户名：</p></strong></td><td width="71%"><strong><font color="#000099">{{ username }}</font></strong></td>
        </tr>
			<tr>
				<td>性别:</td><td>{{ gender }}</td>
			</tr>
			<tr>
				<td>身份证:</td><td>{{id}}</td>
			</tr>
			<tr>
				<td>邮箱:</td><td><input name="email" type="text" value="{{email}}"></td>
			</tr>
			<tr>
				<td>手机:</td><td><input name="telephone" type="text" value="{{telephone}}"></td>
			</tr>
			<tr>
				<td>地址:</td><td><textarea name="address" cols="19" rows="3" >{{address}}</textarea></td>
		</tr>
			<tr>
				<td></td><td><input type="submit" value="提交信息" class="btn btn-primary"></td>
			</tr>
    </table>
    <div class="alert alert-warning">
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    <strong>如果您修改邮箱，我们会向您的新邮箱发送含有激活链接的邮件，请查收重新激活！</strong>
    </div>
	</form>
</div>
</center>
</body>
{% include 'tail.html' %}
</html>
